package com.victor.service;

import com.github.pagehelper.PageInfo;
import com.victor.entity.toreport.FrozenContent;
import com.victor.entity.toreport.ToReport;

public interface ToreportService {
	/**
	 * 举报次数
	 * @param uid
	 * @return
	 */
	String selByFromuid(String uid);
	/**
	 * 被举报次数
	 * @param uid
	 * @return
	 */
	String selByTouid(String uid);
	/**
	 * 举报取消数
	 * @param uid
	 * @return
	 */
	String selByFromuidAndDelstate(String uid);
	/**
	 * 违规信息
	 * @param uid
	 * @return
	 */
	PageInfo<ToReport> selwrongInfo(String uid,int page,int row);
	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	ToReport selById(String id);
	/**
	 * 修改举报表
	 * @param toReport
	 * @return
	 */
	boolean updateByTypeAndCid(ToReport toReport);
	/**
	 * 添加冻结原因
	 * @param frozenContent
	 * @return
	 */
	boolean insertFrozenContent(FrozenContent frozenContent);
	
	

}
